@model HomePortal.Models.Photo

@* This partial view defines form fields that will appear when creating and editing entities *@

<div class="editor-label">
    @Html.LabelFor(model => model.Title)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Title)
    @Html.ValidationMessageFor(model => model.Title)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Author)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Author)
    @Html.ValidationMessageFor(model => model.Author)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.PublishDate)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.PublishDate)
    @Html.ValidationMessageFor(model => model.PublishDate)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Visible)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Visible)
    @Html.ValidationMessageFor(model => model.Visible)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.ImageMimeType)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.ImageMimeType)
    @Html.ValidationMessageFor(model => model.ImageMimeType)
</div>

